/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2022-01-25 10:40:31
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-25 14:43:59
 */
/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2021-12-27 09:35:08
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-24 16:28:33
 */

import { BasicFetchResult } from '/@/api/model/baseModel';

export type ApiDataModel = {
  api_id: number;
  children?: Recordable[];
  create_time: string;
  name: string;
  parent_id: number;
  sort: number;
  update_time: string;
  url: string;
};

export type ApiFormParams = {
  name: string;
  parent_id: number;
  url: string;
  sort: number;
};

export type ApiParams = {
  apiId?: string | number;
  form: ApiFormParams;
};
export type DeleteApiParams = {
  apiId?: string | number;
};

export type ApiListGetResultModel = BasicFetchResult<any>;
